package net.osweb.crm.modules.sys.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * Sysprofile entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sys_profile", uniqueConstraints = @UniqueConstraint(columnNames = "logo"))
public class SysProfile implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7924214270344214038L;
	private String companyName;
	private String logo;
	private String country;
	private String city;
	private String address;
	private String phone;
	private String fax;
	private String website;
	private String comment;

	// Constructors

	/** default constructor */
	public SysProfile() {
	}

	/** minimal constructor */
	public SysProfile(String companyName, String logo, String country) {
		this.companyName = companyName;
		this.logo = logo;
		this.country = country;
	}

	/** full constructor */
	public SysProfile(String companyName, String logo, String country,
			String city, String address, String phone, String fax,
			String website, String comment) {
		this.companyName = companyName;
		this.logo = logo;
		this.country = country;
		this.city = city;
		this.address = address;
		this.phone = phone;
		this.fax = fax;
		this.website = website;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@Column(name = "companyName", unique = true, nullable = false, length = 127)
	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	@Column(name = "logo", unique = true, nullable = false, length = 127)
	public String getLogo() {
		return this.logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@Column(name = "country", nullable = false, length = 127)
	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Column(name = "city", length = 127)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "address", length = 127)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "phone", length = 127)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "fax", length = 127)
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "website", length = 127)
	public String getWebsite() {
		return this.website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}